$border: 1px solid var(--color-border-table);

.process {
  @include flex-column;
  height: calc(100vh - 150px);
  //margin-top: 20px;
  &__table{
    @include flex-column;
    flex: 1;
    overflow-y: hidden;
    &__body{
      flex: 1;
      overflow-y: auto;
    }
  }
}

.head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;

  >.switch {
    display: flex;
    align-items: center;
  }

  ::v-deep(.arco-switch) {
    margin-left: 10px;
  }
}

.table-list {
  max-height: 580px;
  overflow: scroll;
}

.table-title {
  display: flex;
  background: #f5f7fa;
  justify-content: space-between;
  height: 40px;
  align-items: center;
  padding: 0 20px;

  .right {
    cursor: pointer;
    color: rgb(var(--primary-6));
    user-select: none;

    >div {
      ::v-deep(.arco-icon) {
        margin-left: 8px;
      }
    }
  }
}

.add {
  height: 44px;
  color: rgb(var(--primary-6));
  line-height: 44px;
  border: $border;
  padding-left: 20px;
  cursor: pointer;
  user-select: none;
}

@mixin table {
  display: grid;
  grid-template-columns: 1fr repeat(2, 2fr) repeat(3, 1fr) repeat(3, 2fr);
  height: 50px;
  align-items: center;
}

.table-head {
  @include table;
  background: #F2F6FC;
  height: 40px;

  >div {
    text-align: center;
  }

  >div:first-child {
    text-align: left;
    padding-left: 20px;
  }
}

.table-item {
  margin-top: 8px;

  .item-item_row {
    @include table;
    border-top: $border;

    >div {
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      border-left: $border;
    }

    >div:last-child {
      border-right: $border;
    }

    >div:first-child {
      justify-content: start;
      padding-left: 20px;
    }
  }
}


:deep(.arco-scrollbar){
  flex: 1;
  overflow-y: auto;
}



.drawer-content {
  overflow-x: hidden;

  ::v-deep(.arco-space) {
    gap: 20px;
  }

  ::v-deep(.arco-space-item) {
    flex: 1;
  }

  ::v-deep(.arco-form) {
    margin-top: 20px;
  }

  ::v-deep(.arco-form-item-content-wrapper) {
    position: relative;
  }

  .is-acceptance {
    width: 100%;
    border: 1px solid #f2f3f5;
    height: 34px;
    height: 76px;
    position: absolute;
    top: 0;

    >span {
      height: 30px;
    }

    .select {
      height: 40px;
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    ::v-deep(.arco-select-view-single) {
      width: calc(100% - 20px);
      border: none;
      background: #f2f3f5;
    }

    .arco-checkbox-group {
      display: flex;
      align-items: end;
      padding-left: 10px;
    }
  }
}

::v-deep(.ql-tooltip) {
  left: 0 !important;
}

.desc {
  margin: 30px 0 10px;
}

::v-deep(.ql-container.ql-snow) {
  height: 350px;
  overflow-y: scroll;
}

.del-content {
  width: 300px;
  margin: 30px auto;
  text-align: center;
}

.empty {
  img {
    width: 200px;
    display: block;
    margin: 200px auto 30px;
  }

  >div {
    text-align: center;
    color: #86909c;
  }
}

.condition-list {
  margin-top: 20px;

  .condition-item {
    border: 1px solid #DCDFE6;
    padding: 12px 12px 0px 12px;
    margin-bottom: 20px;

    .arco-row {
      align-items: center;
    }

    .content {
      @include flex-align();
      margin-bottom: 12px;

      .condition-label {
        white-space: nowrap;
        font-size: 14px;
        height: 32px;
        padding: 0px 10px;
        line-height: 32px;
        color: #3D3D3D;
        background: #F2F3F5;
        border-right: 1px solid #D7D8E0;
      }

      :deep(.arco-select) {
        border-radius: 0px;
        border: none;
        height: 32px;

        .arco-select-view-input {
          line-height: 32px;
        }
      }
    }

    .delete {
      text-align: right;
      color: #909399;
      cursor: pointer;
    }
  }

  .add-item {
    border: 1px solid #DCDFE6;
    padding: 12px;
    margin-bottom: 20px;
    color: #007aff;
    @include flex-align();
    cursor: pointer;

    span {
      margin-left: 8px;
    }
  }
}

.link {
  color: #007aff;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.btn-footer {
  display: flex;
  gap: 10px;
  justify-content: center;
}
.tabs{
  border:1px solid red;
  width: 100px;
}
